<%@ tag language="java" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<%@ attribute name="url" type="java.lang.String" required="true" description="添加url"%>
<%@ attribute name="title" type="java.lang.String" required="true" description="内容title"%>
<%@ attribute name="urlParam" type="java.lang.String" required="false" description="内容title"%>
<button class="btn btn-white btn-sm" data-toggle="tooltip" data-placement="left" onclick="add()" title="添加"><i class="fa fa-plus"></i> 添加</button>

<script type="text/javascript">
    function add(){
        openDialog("新增"+'${title}',"${url}" + "${urlParam}","800px", "80%","");

        <%--openDialog("新增" + '菜单', "${ctx}/sys/menu/form", "800px", "500px", "");--%>
    }
</script><!-- 增加按钮 -->
